import request from '@/utils/request'
export function getPropertyListAPI(params) {
  return request({
    url: '/park/propertyfee',
    params
  })
}
export function deletePropertyAPI(id) {
  return request({
    url: `/park/propertyfee/${id}`,
    method: 'DELETE'
  })
}
export function getEnterpriseAPI() {
  return request({
    url: '/park/all/enterprise'
  })
}
export function createBillAPI(data) {
  return request({
    url: '/park/propertyfee',
    data,
    method: 'POST'
  })
}
export function getBuildingAPI() {
  return request({
    url: '/park/all/building'
  })
}
export function getPaymentAPI(data) {
  return request({
    url: '/park/propertyfee/pre/payment',
    method: 'POST',
    data
  })
}
export function getBillDetailAPI(id) {
  return request({
    url: `/park/propertyfee/${id}`
  })
}
